main(){
  var n1 = 10;
  n1 ??= 20;      //为空才赋值，此处未赋值
  print(n1);      //10

  var n2;
  n2 ??= 20;      //为空才赋值，此处成功赋值
  print(n2);      //20
}